package com.bblocks.pojo.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author makejava
 * @since 2022-02-17 17:07:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Schema(description = "")
public class DiscussVo implements Serializable {
    private static final long serialVersionUID = -24343237569575610L;

    @Schema(description="评论表id")
    private Long discussId;

    @Schema(description="资讯id")
    private Long informationId;

    @Schema(description="0 其他 1 房产知识 2 房产问答 5爆文 219生活说 220新闻资讯  222邻里帮")
    private Integer discussType;

    @Schema(description="用户id")
    private Long userId;

    @Schema(description="评论内容")
    private String content;

    @Schema(description="添加时间")
    private Date addTime;

    @Schema(description="回复数量")
    private Integer replyNum;

    @Schema(description="点赞数量")
    private Integer praiseNumber;

    @Schema(description="用户昵称")
    private String userName;

    @Schema(description="用户头像")
    private String userImage;

    @Schema(description="回复")
    private List<YzDiscussReplyVo> discussReplyVoList;

	@Schema(description = "用户所在公司id")
	private Integer companyId;

	@Schema(description = "用户角色id")
	private String roleId;
}


